/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ialsynth2012;

/**
 *
 * @author Jonas
 */
public class SynthPreset {
    private int waveform;
    private float attack, decay, sustain, release;
    public SynthPreset(){
        
    }
    public SynthPreset(int waveform, float attack, float decay, float sustain, float release){
        this.waveform = waveform;
        this.attack = attack;
        this.decay = decay;
        this.sustain = sustain;
        this.release = release;
    }
    public int getWaveform(){
        return waveform;
    }
    public void setWaveform(int waveform){
        this.waveform = waveform;
    }
    public float getAttack(){
        return attack;
    }
    public void setAttack(float attack){
        this.attack = attack;
    }
    public float getDecay(){
        return decay;
    }
    public void setDecay(float decay){
        this.decay = decay;
    }
    public float getSustain(){
        return sustain;
    }
    public void setSustain(float sustain){
        this.sustain = sustain;
    }
    public float getRelease(){
        return release;
    }
    public void setRelease(float release){
        this.release = release;
    }
    
    
    
}
